/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pear.gui.table;

import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.ArrayList;
import java.util.List;
import javax.swing.Icon;
import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JProgressBar;
import lombok.BoundPropertySupport;
import lombok.BoundSetter;
import lombok.Getter;
import lombok.Setter;

/**
 *
 * @author Dingo
 */
@BoundPropertySupport
public class UploadFiles {
    
    @Getter @BoundSetter
    private List<FilePart> fileList;

    public UploadFiles() {
        //tymaczsowo
        fileList = new ArrayList<FilePart>();
        
        FilePart file = new FilePart();
        file.setName("Test.mp3");
        file.setProgress(5);
        file.setReminingSize(598);
        file.setSize(700);
        file.setSpeed(454);
        file.setState("play");
        fileList.add(file);
        fileList.add(new FilePart("stop", "test", 1, 1, 1, 17));
    }

}
